/* pages/materialApply/materialApply.wxss */
.materialContainer {
  display: flex;
  width: 100%;
  height: 100vh;
  background: #eee;
}

.materialApply {
  height: 600rpx;
}

/* 物料列表样式 */
.list-container {
  width: 100vw;
  height: calc(100vh - 690rpx);
  background-color: white;
  border-radius: 15rpx;
  overflow: hidden;
}

.list-header {
  display: flex;
  background-color: #00b9b8;
  padding: 15rpx 0;
  box-sizing: border-box;
  color: #fff;
  position: sticky;
  top: 0rpx;
  left: 0rpx;
}

.list-item {
  display: flex;
  padding: 15rpx 20rpx;
  border-bottom: 1rpx solid #99c7c7;
  align-items: center;
}

.list-col {
  font-size: 22rpx;
  text-align: center;
}

.list-col.name {
  flex: 2;
}

.list-col.quantity {
  flex: 1;
}

.list-col.warehouse {
  flex: 2;
}

.list-col.action {
  flex: 1;
  display: flex;
  justify-content: end;
}

.delete-btn {
  color: #ff4d4f;
  font-size: 24rpx;
  padding: 5rpx 10rpx;
}

.empty-tip {
  text-align: center;
  padding: 40rpx 0;
  color: #999;
  font-size: 26rpx;
}

.form-item {
  display: flex;
  width: 100vw;
  padding: 25rpx 10rpx;
  box-sizing: border-box;
  border-bottom: 1rpx solid #eee;
  background-color: white;
  margin-bottom: 0;
  padding-left: 20rpx;
}

.label {
  width: 140rpx;
  color: #333;
  font-size: 28rpx;
  line-height: 60rpx;
  padding-right: 20rpx;
  text-align: right;
}

.value {
  display: flex;
  width: 95vw;
  height: 60rpx;
  color: #666;
  font-size: 28rpx;
  line-height: 60rpx;
}

.value-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.arrow {
  width: 40rpx;
  height: 40rpx;
  margin-right: 20rpx;
}

.textarea {
  flex: 1;
  height: 80rpx;
  border: 1rpx solid #eee;
  border-radius: 8rpx;
  padding: 15rpx;
  font-size: 24rpx;
  color: #666;
}

.textarea::placeholder {
  color: #999;
  font-size: 24rpx;
  line-height: 30rpx;
}

.button-group {
  display: flex;
  justify-content: center;
  padding: 20rpx;
  background: #fff;
  border-bottom-left-radius: 15rpx;
  border-bottom-right-radius: 15rpx;

  text {
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
    font-size: 28rpx;
    color: #00b9b8;
    padding: 5rpx 0;
  }

  text:last-child {
    border-left: 1rpx solid #eee;
  }
}

.label-container {
  display: flex;
  align-items: center;
}

.required {
  color: red;
  margin-right: 5rpx;
}

.submit-btn {
  width: 100%;
  height: 90rpx;
  background-color: #00b9b8;
  color: white;
  border-radius: 0;
  font-size: 36rpx;
  display: flex;
  justify-content: center;
  align-items: center;
}